//
//  VideoCell.m
//  WANNA
//
//  Created by lanou3g on 16/5/6.
//  Copyright © 2016年 浮夸. All rights reserved.
//

#import "VideoCell.h"
#import "ImageDownloader.h"
#import "UIImageView+WebCache.h"
@interface VideoCell ()

@property (weak, nonatomic) IBOutlet UIImageView *imgImage;

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *summaryLabel;

@end


@implementation VideoCell



- (void)layoutSubviews
{
    [self.imgImage dt_setImageWithUrl:[NSURL URLWithString:self.model.image]];
    self.titleLabel.text = self.model.title;
    self.summaryLabel.text = self.model.summary;
}







- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
